package com.yuyou.fn.settlement.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 余额锁定记录
 *
 */
@TableName(value = "balance_lock_record")
public class BalanceLockRecord implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<BalanceLockRecord> createExample(){
		return new Example<BalanceLockRecord>(BalanceLockRecord.class);
	}

	/**  */
	@TableId(value = "balance_lock_record_id")
	private Long balanceLockRecordId;

	/**  */
	@TableField(value = "main_account_id")
	private Long mainAccountId;

	/** 锁key */
	@TableField(value = "lock_key")
	private String lockKey;

	@TableField(value = "amount")
	private BigDecimal amount ;

	/** 备注 */
	private String remark;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Long getBalanceLockRecordId() {
		return this.balanceLockRecordId;
	}

	public void setBalanceLockRecordId(Long balanceLockRecordId) {
		this.balanceLockRecordId = balanceLockRecordId;
	}

	public Long getMainAccountId() {
		return this.mainAccountId;
	}

	public void setMainAccountId(Long mainAccountId) {
		this.mainAccountId = mainAccountId;
	}

	public String getLockKey() {
		return this.lockKey;
	}

	public void setLockKey(String lockKey) {
		this.lockKey = lockKey;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
